require('./bootstrap');
import LE from '../../vendor/hilaoyu/laravel-extend'
window.Vue.component('form-test', require('./components/formTestComponent').default);

window.Vue.component('list-oauth-app-entities', require('./components/listOauthAppEntitiesComponent').default);
window.Vue.component('form-oauth-app-entity', require('./components/formOauthAppEntityComponent').default);
LE.init().then(function (le) {
    //console.log(a)
    //console.log(LE)
    //console.log(this)
    let ap = le.Vue()

    window.menuCallback = function (href) {

        switch (href) {
            case "contact":
                //ap.$emit('')
                break;

            default:
                alert('click:' + href);
                break;
        }
        return
    }
    //console.log(ap)
})


//console.log(bb)
//console.log(cc)
